#ifndef GRID_H
#define GRID_H

#include <QWidget>
#include <QPushButton>
#include <QEvent>
#include <QMouseEvent>
class grid : public QPushButton
{
    Q_OBJECT
public:
    //explicit grid(QWidget *parent = nullptr);
    grid(int x,int y,int type);
    int posx;
    int posy;
    int type;//type == 0 M type == 1 E
    int nowtype;//
    bool finished;
    bool marked;
    void mouseDoubleClickEvent(QMouseEvent * event);
signals:

public slots:
};

#endif // GRID_H
